

package com.hazelcast.internal.server.tcp;

import com.hazelcast.config.EndpointConfig;
import com.hazelcast.internal.networking.ChannelInitializer;
import com.hazelcast.internal.server.ServerContext;

/**
 * A {@link ChannelInitializer} that runs on a member and used for unencrypted
 * channels. It will deal with the exchange of protocols and based on that it
 * will set up the appropriate handlers in the pipeline.
 */
public abstract class AbstractChannelInitializer implements ChannelInitializer {

    protected final ServerContext serverContext;

    protected AbstractChannelInitializer(ServerContext serverContext, EndpointConfig config) {
        this.serverContext = serverContext;
    }
}
